package com.css.zfzx.fxpg.modules.buildings.data.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.buildings.data.repository.entity.FxBuildingsEntity;
import com.css.zfzx.fxpg.modules.buildings.data.viewobjects.FxBuildingsQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author andy
 * @date 2020-11-11
 */

public interface FxBuildingsService {

    public JSONObject queryFxBuildingss(FxBuildingsQueryParams queryParams, int curPage, int pageSize);

    public FxBuildingsEntity getFxBuildings(String id);

    public FxBuildingsEntity saveFxBuildings(FxBuildingsEntity fxBuildings);

    public FxBuildingsEntity updateFxBuildings(FxBuildingsEntity fxBuildings);

    public void deleteFxBuildingss(List<String> ids);

    List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

    public List<FxBuildingsEntity> getFxBuildingss(FxBuildingsQueryParams queryParams);

    public JSONObject searchFxBuildings(FxBuildingsQueryParams queryParams);

    String exportExcel(FxBuildingsQueryParams queryParams, HttpServletResponse response);
}
